package com.obixlabs.kalua.domainmodel.catalogue;

import com.obixlabs.kalua.domainmodel.BaseIdentifier;
import com.obixlabs.kalua.domainmodel.NumericId;

public class CatalogueEditionId extends BaseIdentifier {

	private NumericId catalogueId;
	private Integer version;
	
	public NumericId getCatalogueId() { return this.catalogueId; }
	public void setCatalogueId(NumericId catalogueId) 
	{ this.catalogueId = catalogueId; }
	
	public Integer getVersion() { return this.version; }
	public void setVersion(Integer version) { this.version = version; }
	
	@Override
	protected Object[] getConstituents() 
	{ return new Object[]{this.catalogueId, this.version}; }

}
